package flutterdemo.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UploadConfig {

    public static String imagesPath;

    @Value("${imagesPath}")
    public void setImagesPath(String imagesPath) {
        UploadConfig.imagesPath = imagesPath;
    }

    public static String webPath;

    @Value("${webPath}")
    public void setWebPath(String webPath) {
        UploadConfig.webPath = webPath;
    }
}
